﻿import type { ISysGroup } from '@/type/fileattachment'


export interface ISysHrRecruitRequestBill {
  ID?: string | null;
  Approver: string | null;
  ApprovalTime: Date | null;
  ApprovalOpinion: string | null;
  GroupId: null;
  Group?: ISysGroup;
  BillCode: string | null;
  BillStatus: number | null | string;
  WorkflowStatus: number | null | string;
  Remark: string | null
}

export interface ISysHrRecruitRequestBillVm {
  Entity: ISysHrRecruitRequestBill;
  ActionName: string | null;
  IsMyApprove: boolean;
  Remark?: string | null;
}

export interface ISysHrRecruitRequestBillView extends ISysHrRecruitRequestBill {
  ActionName: string | null;
  GroupName?: string | null; // 部门名称
  OrgName?: string | null; // 公司名称
}

export interface ISysHrRecruitRequestBillQuery {
  Approver?: string
  ApprovalTime?: Date | Date[]
  GroupId?: string
  BillCode?: string
  BillStatus?: number | string
  WorkflowStatus?: number | string
  Limit?: number
  Page?: number
}

export interface ISysHrRecruitRequestBillEntryView {
  ID: string;
  BillNo: string;
  BillCode: string;
  OrgName: string;
  GroupName: string;
  JobPositionName: string;
  RecruitCount: number;
  RecruitRequestBillName: string;
  StaffPoolName: string;
}